﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain.WarehouseManagement
{
    /// <summary>
    /// 仓库列表实体
    /// </summary>
    [Table("WarehouseList")]
    public class WarehouseList : BaseEntity
    {
        /// <summary>
        /// 仓库代码
        /// </summary>
        public string WarehouseCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 仓库料品
        /// </summary>
        public string WarehouseMaterials { get; set; }
        /// <summary>
        /// 入库类型
        /// </summary>
        public string StorageType { get; set; }
        /// <summary>
        /// 出库类型
        /// </summary>
        public string OutboundType { get; set; }
        /// <summary>
        /// 货位
        /// 0:启用
        /// 1:不启用
        /// </summary>
        public bool GoodsPosition { get; set; }
        /// <summary>
        /// 到货类型
        /// </summary>
        public string ArrivalType { get; set; }
        /// <summary>
        /// 仓库期间
        /// 0:自然月
        /// 1:固定日
        /// </summary>
        public bool WarehouseDue { get; set; }
        /// <summary>
        /// 截止日(只有选择了固定日才会添加截止日)
        /// </summary>
        public int DeadlineDay { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 仓库状态
        /// 0:启用
        /// 1:停用
        /// </summary>
        public bool WarehouseStatus { get; set; }
        /// <summary>
        /// 表单配置
        /// </summary>
        public string FormConfiguration { get; set; }
        /// <summary>
        /// 仓管员
        /// </summary>
        public string WarehouseManager { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public string Operator { get; set; }
    }
}
